home *** CD-ROM | disk | FTP | other *** search
- A
- ; This is file WORDSTAR.PCH
- ;
- ;The following command should be applied to WORDSTAR 3.3
- ;to speed up its screen access. The first patch appeared
- ;in PC Magazine Volume 4, Number 10 - May 14, 1985.
- ;Other patches courtesy of Alexander V. Pinter.
- ;Note that the patched routines may not be in exactly
- ;the same place in your version of WS.
- ;DO NOT USE ON WORDSTAR 2000!
- ;Do not have DOSEDIT or the IBM COMMAND RETRIEVER
- ;loaded when applying these patches, or DEBUG
- ;will complain about EVERYTHING.
- ;You may only want to use part of these patches.
- ;With the following command, DEBUG will apply these
- ;patches to WordStar. It will also display this
- ;patch file on the screen as it does it.
- ;For DOS 2, the comment lines will generate error msgs.
- ;This is OK!
- ;----------------------------------------------
- ; debug ws.com <wordstar.pch
- ;----------------------------------------------
- ;The following routine will appear at ABOUT the same
- ;place in your version, check the address and
- ;change the patch address if it is different in your version.
- ;Look for this routine at this address (use the command U2AC4)
- ;xxxx:2AC4 BADA03 MOV DX,03DA
- ;xxxx:2AC7 EC IN AL,DX
- ;xxxx:2AC8 A801 TEST AL,01
- ;xxxx:2ACA 75FB JNZ 2AC7
- ;xxxx:2ACC FA CLI
- ;xxxx:2ACD EC IN AL,DX
- ;xxxx:2ACE A801 TEST AL,01
- ;xxxx:2AD0 74FB JZ 2ACD
-
- a2ac8
- db d0,c8,72
-
- a2ace
- db d0,c8,73
-
- A
- ;The following routine will appear at ABOUT the same
- ;place in your version, check the address and
- ;change the patch address if it is different in your version.
- ;Look for this routine at this address (use the command U2A66)
- ;xxxx:2A66 E82600 CALL 2A8F
- ;xxxx:2A69 C3 RET
-
- a2a66
- jmp 2a8f
- nop
- ret
-
- A
- ;The following routine will appear at ABOUT the same
- ;place in your version, check the address and
- ;change the patch address if it is different in your version.
- ;Look for this routine at this address (use the command U2A71)
- ;xxxx:2A71 E81500 CALL 2A89
- ;xxxx:2A74 FC CLD
-
- a2a71
- mov es,[44ce]
-
- A
- ;The following routine will appear at ABOUT the same
- ;place in your version, check the address and
- ;change the patch address if it is different in your version.
- ;Look for this routine at this address (use the command U2A85)
- ;xxxx:2A85 E80700 CALL 2A8F
- ;xxxx:2A88 C3 RET
-
- a2a85
- jmp 2a8f
- nop
- ret
-
- A
- ;The following routine will appear at ABOUT the same
- ;place in your version, check the address and
- ;change the patch address if it is different in your version.
- ;Look for this routine at this address (use the command U2A94)
- ;xxxx:2A94 50 PUSH AX
- ;xxxx:2A95 E8F1FF CALL 2A89
- ;xxxx:2A98 58 POP AX
- ;xxxx:2A99 D1E7 SHL DI,1
- ;xxxx:2A9B E80400 CALL 2AA2
- ;xxxx:2A9E E8EEFF CALL 2A8F
- ;xxxx:2AA1 C3 RET
-
- a2a94
- mov es,[44ce]
- shl di,1
- call 2aa2
- jmp 2a8f
- nop
- nop
- ret
-
- A
- ;Write it all out and quit
-
- w
- q